package com.ruoyi.project.system.commodity.domain;

import java.util.List;

public class SpecsGroup {
    private int keyId;
    private int systematicsId;
    private String keyName;
    private List<SpecsValue> specsValues;

    public SpecsGroup() {
    }

    public SpecsGroup(int keyId, int systematicsId) {
        this.keyId = keyId;
        this.systematicsId = systematicsId;
    }

    public SpecsGroup( int keyId, int systematicsId, String keyName, List<SpecsValue> specsValues) {

        this.keyId = keyId;
        this.systematicsId = systematicsId;
        this.keyName = keyName;
        this.specsValues = specsValues;
    }

    @Override
    public String toString() {
        return "SpecsGroup{" +
                ", keyId=" + keyId +
                ", systematicsId=" + systematicsId +
                ", keyName='" + keyName + '\'' +
                ", specsValues=" + specsValues +
                '}';
    }

    public int getKeyId() {
        return keyId;
    }

    public void setKeyId(int keyId) {
        this.keyId = keyId;
    }

    public int getSystematicsId() {
        return systematicsId;
    }

    public void setSystematicsId(int systematicsId) {
        this.systematicsId = systematicsId;
    }

    public String getKeyName() {
        return keyName;
    }

    public void setKeyName(String keyName) {
        this.keyName = keyName;
    }

    public List<SpecsValue> getSpecsValues() {
        return specsValues;
    }

    public void setSpecsValues(List<SpecsValue> specsValues) {
        this.specsValues = specsValues;
    }
}
